package com.zm.service;

import com.zm.bean.TestDoorRecordBean;
import com.zm.bean.TestDoorResultBean;
import com.zm.mapper.CabTestMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CabTestServiceImpl implements CabTestService {

    @Resource
    CabTestMapper cabTestMapper;


    @Override
    public List<TestDoorResultBean> getAllResultDoorBean() {
        return cabTestMapper.getAllResultDoorBean();
    }

    @Override
    public void insert(TestDoorResultBean mBean) {
        cabTestMapper.insert(mBean);
    }

    @Override
    public void insertForeach(List<TestDoorRecordBean> mBeanList) {
        cabTestMapper.insertForeach(mBeanList);
    }

    @Override
    public List<TestDoorResultBean> selectResultDoorBean(TestDoorResultBean mBean) {
        return cabTestMapper.selectResultDoorBean(mBean);
    }
}
